package com.jyh.db.mapper;

import com.jyh.db.entity.JyhBorrowingRecord;
import com.jyh.db.entity.JyhBorrowingRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JyhBorrowingRecordMapper {
    /**
     *
     * @mbggenerated 2017-10-18
     */
    int countByExample(JyhBorrowingRecordExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int deleteByExample(JyhBorrowingRecordExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int insert(JyhBorrowingRecord record);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int insertSelective(JyhBorrowingRecord record);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    List<JyhBorrowingRecord> selectByExample(JyhBorrowingRecordExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    JyhBorrowingRecord selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int updateByExampleSelective(@Param("record") JyhBorrowingRecord record, @Param("example") JyhBorrowingRecordExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int updateByExample(@Param("record") JyhBorrowingRecord record, @Param("example") JyhBorrowingRecordExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int updateByPrimaryKeySelective(JyhBorrowingRecord record);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int updateByPrimaryKey(JyhBorrowingRecord record);
}